package com.beiing.tianshuai.tianshuai.entity;

import com.google.gson.annotations.SerializedName;

/**
 * Created by Jinni on 2017/7/13 0013.
 */

public class CommonBean extends BaseBean {

    /**
     * code : 200
     * data : {"data":3993,"number":"注册成功!"}
     */

    @SerializedName("code")
    private int code;
    @SerializedName("data")
        private DataBean data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * data : 3993
         * number : 注册成功!
         */

        @SerializedName("data")
        private int data;
        @SerializedName("number")
        private String number;

        public int getData() {
            return data;
        }

        public void setData(int data) {
            this.data = data;
        }

        public String getNumber() {
            return number;
        }

        public void setNumber(String number) {
            this.number = number;
        }

        @Override
        public String toString() {
            return "DataBean{" +
                    "data=" + data +
                    ", number='" + number + '\'' +
                    '}';
        }
    }

    @Override
    public String toString() {
        return "CommonBean{" +
                "code=" + code +
                ", data=" + data +
                '}';
    }
}
